import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {PlatformComponent} from './platform.component';

const routes: Routes = [
    {
        path: '',
        component: PlatformComponent,
        children: [
            {
                path: 'productDetail',
                loadChildren: () => import('./product-detail/product-detail.module').then(m => m.ProductDetailModule)
            }
        ]
    },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class PlatformRoutingModule { }
